<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Document</title>
</head>
<body>
    <h1>这是web页面</h1>
    <a href="ark://PlayerPage">打开音乐播控面板</a>
    <button onclick="handleMethod()">触发原生方法函数</button>
</body>
<script>
    function changeColor(param){
        document.querySelector('h1').style.color = 'orange'
        document.querySelector('h1').innerHTML = param
    }

    function handleMethod(){
        testName.testFn()
    }
</script>
</html>